package com.snailvr.tv.network.service;

import com.snailvr.tv.network.entity.ChannelListResponBean;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Header;
import retrofit2.http.Headers;
import retrofit2.http.Query;


/**
 * Created by Administrator on 2016/8/31.
 */
public interface ChannelListService {
    @Headers({"Accept-version: 2.0.1","Content-Type: application/json"})
    @GET("channel/list")
    Call<ChannelListResponBean> getChannelList(
            @Header("sessionid") String sessionid,
            @Header("token") String token,
            @Query("pageSize") int page_size,
            @Query("page") int page,
            @Query("tag") String tag
    );

}
